<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
    <link rel="stylesheet" href="__PUBLIC_ADMIN__/Css/public.css">
    <script src="__PUBLIC_ADMIN__/Js/jquery-1.7.2.min.js"></script>
    <script src="__PUBLIC_ADMIN__/Js/index.js"></script>

    <!--<link rel="stylesheet" href="__PUBLIC_ADMIN__/ueditor/themes/default/css/ueditor.css">-->
    <script>
        window.UMEDITOR_HOME_URL="__PUBLIC_ADMIN__/ueditor/";
        window.onload=function() {
            var ue = UE.getEditor('content',{
                toolbars: [/*[
                    'fullscreen', 'source', '|', 'undo', 'redo', '|',
                    'bold', 'italic', 'underline', 'fontborder', 'strikethrough', 'superscript', 'subscript', 'removeformat', 'formatmatch', 'autotypeset', 'blockquote', 'pasteplain', '|', 'forecolor', 'backcolor', 'insertorderedlist', 'insertunorderedlist', 'selectall', 'cleardoc', '|',
                    'rowspacingtop', 'rowspacingbottom', 'lineheight', '|',
                    'customstyle', 'paragraph', 'fontfamily', 'fontsize', '|',
                    'directionalityltr', 'directionalityrtl', 'indent', '|',
                    'justifyleft', 'justifycenter', 'justifyright', 'justifyjustify', '|', 'touppercase', 'tolowercase', '|',
                    'link', 'unlink', 'anchor', '|', 'imagenone', 'imageleft', 'imageright', 'imagecenter', '|',
                    'simpleupload', 'insertimage', 'emotion', 'scrawl', 'insertvideo', 'music', 'attachment', 'map', 'gmap', 'insertframe', 'insertcode', 'webapp', 'pagebreak', 'template', 'background', '|',
                    'horizontal', 'date', 'time', 'spechars', 'snapscreen', 'wordimage', '|',
                    'inserttable', 'deletetable', 'insertparagraphbeforetable', 'insertrow', 'deleterow', 'insertcol', 'deletecol', 'mergecells', 'mergeright', 'mergedown', 'splittocells', 'splittorows', 'splittocols', 'charts', '|',
                    'print', 'preview', 'searchreplace', 'drafts', 'help'
                ]]*/
                    ['fullscreen', 'source', 'undo', 'redo','|','insertcode','link'],
                    ['bold', 'italic', 'underline', 'fontborder', 'strikethrough', 'superscript', 'subscript', 'removeformat', 'formatmatch', 'autotypeset', 'blockquote', 'pasteplain', '|', 'forecolor', 'backcolor', 'insertorderedlist', 'insertunorderedlist', 'selectall', 'cleardoc']
                ],
                initialFrameHeight:360,
            });
        }
    </script>

    <script src="__PUBLIC_ADMIN__/ueditor/ueditor.config.js"></script>
    <script src="__PUBLIC_ADMIN__/ueditor/ueditor.all.js"></script>
    <!--<script src="__PUBLIC_ADMIN__/ueditor/lang/zh-cn/zh-cn.js"></script>-->

</head>
<body>
<form action="" method="post">
    <table class="table">
        <tr>
            <th colspan="2">博文发布</th>
        </tr>
        <tr>
            <td align="right" width="10%">所属分类:</td>
            <td>
                <select name="cid" id="">
                    <option value="">===请选择===</option>
                    <foreach name="list" item="vo">
                        <option value="{$vo.id}">{$vo.html}{$vo.name}</option>
                    </foreach>
                </select>
            </td>
        </tr>
        <tr>
            <td align="right">博文属性:</td>
            <td>
                <foreach name="attr" item="v">
                    <input type="checkbox" name="aid[]" value="{$v.id}" id="{$v.id}"><label for="{$v.id}" style="color:{$v['color']}">{$v.name}&nbsp;&nbsp;</label>
                </foreach>
            </td>
        </tr>
        <tr>
            <td align="right">点击次数:</td>
            <td><input type="number" name="click" value="100"></td>
        </tr>
        <tr>
            <td align="right">标题:</td>
            <td><input type="text" name="title"></td>
        </tr>
        <tr>
            <td colspan="2">
                <textarea name="content" id="content" cols="30" style="width:100%"></textarea>
            </td>
        </tr>
        <tr>
            <td align="center" colspan="2" >
                <input type="submit" value="保存">
            </td>
        </tr>
    </table>
</form>
</body>
</html>